const {
	http
} = uni.$u

// 验证码
export const getAllNoByUser = (params, config = {}) => http.post('common/getAllNoByUser', params, config)
//登录
export const yzmLogin = (params, config = {}) => http.post('frontend/v1/auth/yzmLogin', params, config)
// // 场地详情头部场地
// export const getFieldNoList = (params) => http.get('api/court/getFieldNoList', params)
//获取票列表
export const machinelist = (params, config = {}) => http.post('data/machine.index/list', params, config)
//提交订单
export const masub = (params, config = {}) => http.post('data/machine.index/sub', params, config)
//提交订单
export const mapay = (params, config = {}) => http.post('data/machine.index/qr', params, config)
//支付结果查询
export const query = (params, config = {}) => http.post('data/machine.index/query', params, config)
//获取打印小票数据
export const print_info = (params, config = {}) => http.post('data/machine.index/print_info', params, config)
//充值卡支付
export const machinepay = (params, config = {}) => http.post('data/machine.index/pay', params, config)

